import Cate from './components/cate';
import Home from './components/Home.vue';
import cateNews from './components/cate/cateNews.vue';
import cateNewsp from './components/cate/cateNewsp.vue';
import cateProduct from './components/cate/cateProduct.vue';
import User from './components/user'
import Newsp from './components/newsp';
import Product from './components/product'
import News from './components/news'
export const routes = [
    { path: '/', component: Home },
    {
        path: '/cate',
        component: Cate,
        children: [
            { path: 'news', component: cateNews },
            { path: 'product', component: cateProduct },
            { path: 'newsp', component: cateNewsp }
        ]
    },
    { path: '/newsp', component: Newsp },
    { path: '/user', component: User },
    { path: '/product', component: Product },
    { path: '/news', component: News }
];